//
//  NSObject+HDRepairListModle.m
//  app
//
//  Created by D on 15/8/31.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//

#import "HDRepairListModle.h"

@implementation HDRepairListModle

-(instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        
        self.address = dict[@"address"];
        self.creatTime = dict[@"created_at"];
        self.code = dict[@"code"];
        self.info = dict[@"info"];
        self.repair_item = dict[@"repair_item"];
        self.apply_name = dict[@"apply_name"];
        self.detail = dict[@"detail"];
        self.status = dict[@"status"];
        self.is_charged = dict[@"is_charged"];
        self.reference_price = dict[@"reference_price"];
        self.com_id = dict[@"com_id"];
        self.root_id = dict[@"root_id"];
        self.images = dict[@"images"];
        self.evaluation_detail = dict[@"evaluation_detail"];
        self.repair_apply_id = dict[@"repair_apply_id"];
        
    }
    return self;
}

+(instancetype)modelWithDict:(NSDictionary *)dict
{
    return [[self alloc]initWithDict:dict];
}
@end
